package com.white.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.white.bean.Classify;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ClassifyMapper extends BaseMapper<Classify> {
    String TABLE_NAME = " classify ";

    @Select("select * from" + TABLE_NAME + "where name like #{content}")
    List<Classify> search(String content);
}
